package org.example.myleet.p1450;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.busyStudent(new int[]{1,2,3}, new int[]{3,2,7}, 4));
        Assert.isTrue(1 == solution.busyStudent(new int[]{4}, new int[]{4}, 4));
        Assert.isTrue(0 == solution.busyStudent(new int[]{4}, new int[]{4}, 5));
        Assert.isTrue(0 == solution.busyStudent(new int[]{1,1,1,1}, new int[]{1,3,2,4}, 7));
        Assert.isTrue(5 == solution.busyStudent(new int[]{9,8,7,6,5,4,3,2,1}, new int[]{10,10,10,10,10,10,10,10,10}, 5));
    }
}
